package org.datamining.guha.model.node;

import org.datamining.guha.model.literal.Literal;

/**
 * Factory for {@link Node}s.
 * 
 * @author Lukas Vlcek
 *
 */
public interface NodeFactory {

	public Node getNode(Literal l, Node nextLitaralNode,
			Node previousLiteralNode, long frequency);
	
	public Node getNode(Literal l, Node parent, Node nextLitaralNode,
			Node previousLiteralNode, long frequency);
}
